package backend.project.gym_management.mapper;

import backend.project.gym_management.pojo.dto.EnrollmentDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EnrollmentMapper {
    void insertEnrollment(@Param("cid") Long cid, @Param("uid") Long uid);

    List<EnrollmentDTO> getEnrollmentsByUid(Long uid);
}
